package com.baidu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

@Data
@TableName("sked")
public class Sked implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 还款计划id
     */
    @TableId(value = "rid", type = IdType.AUTO)
    private Integer rid;

    /**
     * 第几期
     */
    private Integer wvs;

    /**
     * 本金
     */
    private Double principal;

    /**
     * 利息
     */
    private Double interest;

    /**
     * 总计
     */
    private Double nums;

    /**
     * 是否已还1已还/0未还
     */
    private Integer won;

    /**
     * 还款时间
     */
    private Date times;

    /**
     * 借款记录id
     */
    private Integer bid;


}
